package com.hmy.material.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.web.domain.HmyBaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author zxh
 * @version 1.0
 * @description: 物料进货DAO数据接口
 * @date 2024/1/29 14:33
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class HmyMateriaFeedPurchase extends HmyBaseEntity {

  private long materiaFeedPurchaseId;
  private String materiaFeedType; //饲料类型
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date materiaFeedPurchaseDate; //进货时间
  private String materiaFeedPurchaseProvider; //供应商
  private long materiaFeedPurchaseNum; //数量(袋)
  private Integer materiaFeedPurchaseWeight; //每袋重量kg
  private double materiaFeedPurchasePrice; //每袋单价
  private double materiaFeedPurchaseTotlePrice; //总价
  private String materiaFeedStorePosition; //仓库/存储地点
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date materiaFeedExpireTime; //过期时间
  private String delFlag; //逻辑删除



}
